<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends Action {
    public function index(){
        // echo 'Hello world.';
        $category = M('category')->select();
        $this->assign('data', $category[0]);
        $this->display();
    }
    public function verify(){
    import('Class.Image',BASEPATH);
    Image::verify();
    }
}